import Vue from 'vue'
import App from './App.vue'
import router from "./router";
// import store from "./store";
import store from "./store/index";

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')


/*
  Nuxtjs: Vue2, Vue-Router, Vuex, Vue-ssr, vue-meta(html-meta 管理)

  incoming req -> nuxt server lint(store action [vuex]) => middleware => validate(pages & children) =>asyncDate & fetch (数据) => render => navigate
*/